package com.ecloud.arithmetic.dto;

import com.ecloud.arithmetic.entities.EnergyTop;
import com.ecloud.common.standard.EnableToEntities;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author Squbi
 */
@Data
public class EnergyTopDto implements EnableToEntities<EnergyTop> {
    private String buildingFloor;
    @NotNull
    private String dataMonthStr;
    @Min(1)
    private int dataRanking;
    @NotNull
    private String dataValue;
    @NotNull
    private String dataUnit;
    private String description;
}
